package com.fs.web.base.controller;

import com.fs.web.base.vo.SysPath;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ACE
 * @desc 系统设置controller
 * @creationTime 2019-04-11 15:00
 * @projectName weixinframe
 * @packageName com.fs.web.base.controller
 */
@Slf4j
@Controller
@RequestMapping("/console/system/rewrite")
public class SystemController {

    @GetMapping("{modleName}/index")
    public String index(@PathVariable String modleName){
        return SysPath.BACK_PATH.concat("/system/").concat(modleName);
    }
}
